package cards;

import java.awt.Graphics2D;import java.awt.image.BufferedImage;

import java.awt.Image;

public class HorsePlus extends Equipment {
	//there is more than one image for horsePlus
	//IMPORTANT, card class doesn't rewrite paint(). it rewrite IMAGE 
	public static BufferedImage image;
	public static void ImageInit(BufferedImage toBinit){
		image = toBinit;
	}
	@Override
	public BufferedImage getImage() {
		return image;
	}
	private int horseRange = 1;
	public HorsePlus(){
		this(0,0);
	}
	public HorsePlus( int c, int n) {
		super("HorsePlus", c, n, "");
	}
	@Override
	public boolean instanceOf(String superClass) {
		if(super.instanceOf(superClass)){
			return true;
		}
		if(superClass.equalsIgnoreCase("HorsePlus")){
			return true;
		}
		return false;
	}
}
